package com.yugao.fintech.antelope.mps.model.rqrs.template;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 消息模板
 *

 */
@Getter
@Setter
public class MsgTemplateBase {
    @NotNull(message = ValidationCons.NOT_EMPTY)
	@ApiModelProperty(value = "任务id")
	private Long taskId;

	@ApiModelProperty(value = "模板标题")
	private String title;
	
    @NotNull(message = ValidationCons.NOT_EMPTY)
	@ApiModelProperty(value = "状态, true: 启用, false: 禁用")
	private Boolean status;
	
	@ApiModelProperty(value = "模板配置, json格式")
	private String templateConfig;

	@ApiModelProperty(value = "备注")
	private String remark;
}
